package com.joeone.service.impl;

import com.alibaba.fastjson.JSONObject;
import com.joeone.entity.mti.CategorySalesaAnalysis;
import com.joeone.request.JoeoneRequest;
import com.joeone.service.CategorySalesaAnalysisService;
import com.joeone.service.PerformanceOverviewService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
* @author 郑伟杰
* 描述：大类销售分析列表-查询方法
* 创建时间 2024/3/18 9:05
*/
@Service
@RequiredArgsConstructor
public class CategorySalesaAnalysisServiceImpl implements CategorySalesaAnalysisService {
    private final PerformanceOverviewService performanceOverviewService;
    @Override
    public Map<String,List<CategorySalesaAnalysis>> queryCategorySalesaAnalysisList(JoeoneRequest joeoneRequest) {
        return  performanceOverviewService.queryYjTotalGroupByDl(joeoneRequest);
    }
}
